@extends('public.father')
@section('title','登录页')
@section('content')
<div class="container">
    <div class="jumbotron">
        @include('public._errors')
        <form action="{{route ('login')}}" method="post">
            {{csrf_field()}}
            <div class="form-group">
                <label for="exampleInputEmail1">邮箱</label>
                <input name="email" type="email" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp" placeholder="请输入邮箱" value="{{old('email')}}">
            </div>
            <div class="form-group">
                <label for="password">密码</label>
                <input name="password" type="password" class="form-control" id="password" placeholder="请输入密码">
            </div>
            <div class="form-check">
                <input type="checkbox" class="form-check-input" id="exampleCheck1" name="remeber">
                <label class="form-check-label" for="exampleCheck1">记住我</label>
                <a class="ml-1" href="{{route('email')}}">忘记密码？</a>
            </div>
            <button type="submit" class="mt-3 btn btn-primary">登录</button>
        </form>
    </div>
</div>
    @endsection